import { ElectricityMeterType } from '../constants';

/**
 * 电表
 */
export class ElectricityMeter {
  static readonly modelName = 'ElectricityMeter';
  id: string;

  name: string;

  rate: number;

  type: ElectricityMeterType;

  parent_id?: string;

  parent?: ElectricityMeter;

  children?: ElectricityMeter[];

  created_at: Date;
  updated_at: Date;
}
